package cn.line5.seam.annotations;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * <h1>定义组件名称</h1> 为类定义组件名称，该类被加载为组件，供其他类或组件调用。<br/>
 * eg:<br/>
 * <I>
 * 
 * &#64;Name("test")<br/>
 * class Test {<br/>
 * ...<br/>
 * } </I>
 * 
 * @author Liu,Xiaojun
 * @since JDK1.6
 */
@Target(TYPE)
@Retention(RUNTIME)
@Documented
public @interface Name {
	String value();
}